package com.dayaokeji.rhythmschoolstudent.receiver;

import android.content.Context;

import com.dayaokeji.rhythmschoolstudent.utils.JPushAliasUtils;

import cn.jpush.android.api.JPushMessage;
import cn.jpush.android.service.JPushMessageReceiver;

/**
 * Created by Gorden on 2017/8/22.
 *
 * 自定义JPush message 接收器,包括操作tag/alias的结果返回(仅仅包含tag/alias新接口部分)
 */

public class AppJPushMessageReceiver extends JPushMessageReceiver {

    @Override
    public void onAliasOperatorResult(Context context, JPushMessage jPushMessage) {
        JPushAliasUtils.getInstance().onAliasOperatorResult(context,jPushMessage);
        super.onAliasOperatorResult(context, jPushMessage);
    }
}
